.home {
    box-sizing: border-box;

    .container {
        padding: @default-space;
        box-sizing: border-box;

        .searchPrinter {
            margin-top: @default-space;
        }
    }
}

.drawer {
    :global {
        .ant-drawer-header, .ant-drawer-body {
            padding: @small-space @default-space;

            .ant-drawer-close {
                width: 20px;
                height: 20px;
                font-size: 14px;
            }

            .ant-drawer-title {
                font-size: 14px;
                font-weight: normal;
            }
        }

        .ant-drawer-body {
            padding: 4px;
        }
    }

    .fileList {
        height: 100%;

        ul {
            margin: 0;
            padding: 0;
            list-style: none;
            
            li {
                line-height: 40px;
                text-align: left;
                box-sizing: border-box;
                padding: 0 @default-space;
                border-radius: @small-space;
                display: flex;
                align-items: center;
                justify-content: space-between;
                
                &:hover {
                    background: rgba(0, 0, 0, .1);
                    border-radius: 4px;
                }

                a {
                    font-weight: initial;
                    color: rgba(0, 0, 0, .88);
                }

                :global(.ant-btn) {
                    border: none;
                    background: transparent;

                    &:hover {
                        background-color: transparent;
                        color: initial;
                    }
                }

                :global(.iconfont) {
                    cursor: pointer;
                    padding: @small-space;
                    border-radius: 50%;
                    
                    &:hover {
                        background: #cccccc;
                    }
                }
            }
        }
    }

    .empty {
        width: 80%;
        height: 90%;
        margin: 0 auto;
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .fileListItem {
        cursor: pointer;

        .fileListItemName {
            width: 100px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;    
        }
    }

    .printerTaskWrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        
        .cleanAll {
            background: linear-gradient(135deg,#fb7185, #e11d48);
            color: white;
            border: none;
        }
    }
}

.printerTask {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    >:last-child {
        margin-left: 26px;
    }
}

.restartServices {
    cursor: pointer;
    margin-left: 10px;
    color: rgb(14, 165, 233);
}